import http from "../utils/request.js";

export function saveschedule({date,time_interval,type,address,customer_name,customer_phone,price,paid,kind,remark}) {
  return http.$post("schedule/save",{
    date,
    time_interval,
    type,
    address,
    customer_name,
    customer_phone,
    price,
    paid,
    kind,
    remark
  })
}
export function getScheduleDataList({date}) {
  return http.$post("schedule/getScheduleDataList",{
    date
  })
}
export function editScheduleData({schedule_id,is_delete,date,time_interval,type,address,customer_name,customer_phone,price,paid,kind,remark}) {
  return http.$post("schedule/editScheduleData",{
    schedule_id,
    is_delete,
    date,
    time_interval,
    type,
    address,
    customer_name,
    customer_phone,
    price,
    paid,
    kind,
    remark
  })
}
export function getScheduleInfo({id}) {
  return http.$post("schedule/getScheduleInfo",{
    id
  })
}
export function personalInformation({avator,emcee_name,common_address,sex,user_describe,works}) {
  return http.$post("host/personalInformation",{
    avator,
    emcee_name,
    common_address,
    sex,
    user_describe,
    works
  })
}